- 
		Home
	
- 
YayPricing – WooCommerce Dynamic Pricing & Discounts
- 
2.4.8
- 
Code
- 
Classes
-  YAYDP_Cart_Item 
		
			
				
					
													
								
																			
											| Total Complexity | 37 | 
																			
											| Dependencies | 4 | 
																			
											| Dependents | 10 | 
																	
							 
													
								
																			
											| Total lines | 286 | 
																			
											| Lines of code | 149 | 
																			
											| Logical lines of code | 76 | 
																	
							 
													
								
																			
											| Comment lines | 94 | 
																			
											| Methods | 20 | 
																			
											| Properties | 8 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| get_prices_based_on_quantity() | A | 49 | 9 | 29 | 
					
				| __construct() | S | 53 | 7 | 24 | 
					
				| get_available_tooltips() | S | 62 | 3 | 12 | 
					
				| get_modified_price_html_for_normal_item() | S | 55 | 1 | 21 | 
					
				| get_modified_price_html() | S | 72 | 2 | 6 | 
					
				| get_modified_price_html_for_extra_item() | S | 60 | 1 | 15 | 
					
				| get_key() | S | 82 | 1 | 3 | 
					
				| get_quantity() | S | 80 | 1 | 3 | 
					
				| set_quantity() | S | 80 | 1 | 3 | 
					
				| get_price() | S | 80 | 1 | 3 | 
					
				| set_price() | S | 80 | 1 | 3 | 
					
				| get_product() | S | 82 | 1 | 3 | 
					
				| is_extra() | S | 82 | 1 | 3 | 
					
				| get_extra_data() | S | 82 | 1 | 3 | 
					
				| add_modifier() | S | 77 | 1 | 3 | 
					
				| get_modifiers() | S | 82 | 1 | 3 | 
					
				| can_modify() | S | 80 | 1 | 3 | 
					
				| clear_modifiers() | S | 81 | 1 | 3 | 
					
				| set_bulk_quantity() | S | 81 | 1 | 3 | 
					
				| get_bulk_quantity() | S | 82 | 1 | 3 |